package yf.mall.vo.down;


import lombok.Data;
import java.util.Date;
import com.alibaba.excel.annotation.*;
import java.io.Serializable;



import yf.mall.entity.AppBehaviorEntity;
import yf.mall.vo.AppBehaviorVo;

                            
/**
 * 行为记录表实体
 * 表名 app_behavior
 *
 *
 * 
 * @date Fri Jul 28 07:58:50 CST 2023
 */
@Data
public class AppBehaviorDown implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;

                        //主键
            @ExcelProperty("主键")
            private Long id;
        
                        //行为类型：素材下载、成片下载
            @ExcelProperty("行为类型：素材下载、成片下载")
            private Integer type;
        
                        //关联记录ID
            @ExcelProperty("关联记录ID")
            private Long refId;
        
                        //备注
            @ExcelProperty("备注")
            private String remark;
        
                        //创建时间
            @ExcelProperty("创建时间")
            private Date createTime;
        
                        //创建人ID
            @ExcelProperty("创建人ID")
            private Long creatorId;
        
                        //创建人名称
            @ExcelProperty("创建人名称")
            private String creatorName;
        
    
    public AppBehaviorDown() {

    }

    public AppBehaviorDown(AppBehaviorVo vo) {
        AppBehaviorEntity entity = vo.getEntity();
                                    this.setId(entity.getId());
            
                                    this.setType(entity.getType());
            
                                    this.setRefId(entity.getRefId());
            
                                    this.setRemark(entity.getRemark());
            
                                    this.setCreateTime(entity.getCreateTime());
            
                                    this.setCreatorId(entity.getCreatorId());
            
                                    this.setCreatorName(entity.getCreatorName());
            
            }


}
